.margin-top10 {
    margin-top: 10px
}

ul {
    list-style: none
}

ul, li {
    margin: 0;
    padding: 0
}

a:hover {
    text-decoration: none;
    color: #337ab7;
}

/**头部**/
.logo_text {
    line-height: 53px;
}

/*导航*/
nav {
    background-color: #e7e7e7;
    height: 50px;
    margin-top: 30px;
    border-bottom: 3px solid #005197;
    line-height: 50px;
}

nav > div > ul {
    display: flex;
    height: 50px;
}

nav > div > ul > li {
    flex: 1;
    cursor: pointer;
    text-align: center;
}

nav > div > ul > li:hover {
    background-color: #005197;
    color: white;
}

nav > div > ul > li > ul {
    color: #777777;
    display: none; /*隐藏*/
    position: relative;
    background-color: white;
    border: 1px solid #d9d9d9;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

nav > div > ul > li:hover > ul {
    display: block;
}

nav > div > ul > li > ul > li:hover {
    background-color: #005197;
    color: white;
}

.menu-desc {
    margin-bottom: 50px
}


/**底部**/
footer {
    background-color: #3a3a3a;
    height: 350px;
    padding-top: 50px;
    margin-top: 50px;
}

.footer-left {
    text-align: center;
    color: #a6a6a6;
}

.footer-left ul li:first-child {
    font-weight: bold;
    font-size: 16px;
    color: white;
}

.footer-left ul li {
    margin-bottom: 5px;
}

.footer-left ul li a {
    text-decoration: none;
    color: #a6a6a6;
}

.footer-left ul li:hover a {
    color: white;
}

.footer-right {
    color: white;
    position: relative;
    top: -30px;
}

.footer-right img {
    width: 180px;
    margin-top: 10px;
    margin-bottom: 20px;
}

.footer-right div:last-child {
    font-size: 18px;
}

/*模块的标题*/
.mode-title {
    color: #005197;
    font-size: 18px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #005197;
}

.padding2 {
    text-indent: 30px; /**首行缩进**/
    line-height: 28px; /**行高设置**/
}

/**模块的菜单样式**/
.mode-menu .mode-menu-title {
    font-size: 28px;
    background-color: #005197;
    color: white;
    text-align: center;
    height: 60px;
    line-height: 60px;
}

.mode-menu .mode-item {
    font-size: 18px;
    background-color: #f6f6f6;
    text-align: center;
    height: 50px;
    line-height: 50px;
    border: 1px solid #dddddd;
    border-top: 0;
}

.mode-menu .mode-item:last-child {
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.mode-menu .mode-item a {
    color: black;
}

.mode-menu .mode-item:hover a {
    color: #005197;
}

.mode-active a {
    color: #005197 !important; /**强制生效**/
    font-weight: bold;
}


/**科研基地**/
#science img {
    width: 60%;
}

#science .img {
    text-align: center;
}

#science .science-title {
    font-size: 28px;
}

#science .science-content {
    line-height: 35px;
}

/*产品*/
#product .product-title {
    font-size: 23px;
    font-weight: bold;
    margin-bottom: 10px;
}

#product .product-btn {
    margin-top: 15px;
}

#product .product-item {
    margin: 15px 0;
}

#product .page {
    display: flex;
    justify-content: center;
}

/*产品详情页*/
#product-detail .product-detail-img {
    text-align: center;
}

#product-detail .product-detail-img img {
    width: 600px;
    margin-bottom: 10px;
}

#product-detail .product-detail-title {
    font-size: 24px;
    margin: 15px 0;
}

/*  新闻 */
#new .new-title div:first-child {
    font-size: 16px;
    font-weight: bold;
}

#new .new-title div:first-child a {
    color: black
}

#new .new-title div:last-child {
    text-align: right;
}

#new .new-content {
    margin: 10px 0 15px 0;
}

#new .new-page {
    display: flex;
    justify-content: center;
}

#new-detail div:first-child {
    font-size: 20px;
    color: #1b6d85;
    font-weight: bold;
    margin-bottom: 10px;
}

#new-detail .new-detail-content {
    text-align: center;
}

/**全局搜索**/
.mode-title {
    position: relative;
}

#new .search {
    width: 300px;
    position: absolute;
    top: 0;
    right: 0;
}

/* 设置高亮显示的颜色*/
.highlighted {
    color: red;
}

/**搜索页**/
#search .search-title {
    position: relative
}

#search .search {
    position: absolute;
    top: 0;
    right: -15px;
}

#search .new-title a {
    color: black;
    font-size: 18px;
    font-weight: bold;
}

#search .new-title a:hover {
    color: #1b6d85;
}

#search .new-item {
    margin: 10px 0;
}

/**首页**/
#home .home-title {
    padding-bottom: 5px;
    border-bottom: 3px solid #ccc;
    position: relative;
}

#home .home-title span {
    border-bottom: 3px solid #1b6d85;
    margin-right: 10px;
    padding-bottom: 7px;
    font-size: 16px;
}

#home .home-title a {
    position: absolute;
    top: -10px;
    right: 0;
    font-size: 10px;
}